package com.example.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Record {
    private Integer id;
    private Integer goodsId;     // 商品ID
    private Integer stuId;     // 商家ID
    private Integer cusId;     // 顾客ID
    private Integer cateId;      // 分类ID
    private String goodsName;
    private String stuName;
    private String cusName;
    private String goodsCateName;
    private Float price;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;//创建时间


}
